package org.dromara.agriculture.domain.vo;

import org.dromara.agriculture.domain.AgricultureBatchTask;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 批次任务视图对象 agriculture_batch_task
 *
 * @author Robin
 * @date 2024-12-05
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = AgricultureBatchTask.class)
public class AgricultureBatchTaskVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 任务ID
     */
    @ExcelProperty(value = "任务ID")
    private Long taskId;

    /**
     * 批次ID
     */
    @ExcelProperty(value = "批次ID")
    private Long batchId;

    /**
     * 任务负责人
     */
    @ExcelProperty(value = "任务负责人")
    private Long taskHead;

    /**
     * $column.columnComment
     */
    @ExcelProperty(value = "${comment}", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "$column.readConverterExp()")
    private String taskHeadName;

    /**
     * 任务名称
     */
    @ExcelProperty(value = "任务名称")
    private String taskName;

    /**
     * 计划开始日期
     */
    @ExcelProperty(value = "计划开始日期")
    private String planStart;

    /**
     * 计划结束日期
     */
    @ExcelProperty(value = "计划结束日期")
    private String planFinish;

    /**
     * 实际开始日期
     */
    @ExcelProperty(value = "实际开始日期")
    private String actualStart;

    /**
     * 实际结束日期
     */
    @ExcelProperty(value = "实际结束日期")
    private String actualFinish;

    /**
     * 任务详情
     */
    @ExcelProperty(value = "任务详情")
    private String taskDetail;

    /**
     * 图片资料
     */
    @ExcelProperty(value = "图片资料")
    private String taskImages;

    /**
     * 视频资料
     */
    @ExcelProperty(value = "视频资料")
    private String taskVideos;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 0未分配 1已分配 2进行中 3已完成
     */
    @ExcelProperty(value = "0未分配 1已分配 2进行中 3已完成")
    private String status;

    /**
     * 排序
     */
    @ExcelProperty(value = "排序")
    private Long orderNum;


}
